<template>
  <div class="">
    <zu>
      <div class="xf">
        <nava></nava>
      </div>
      <div class="v_main">
        <div class="v_min">
          <div class="cc_in">
            <h2>登&nbsp;&nbsp;录</h2>
            <naive></naive>
            <div class="qq">
              <el-tabs
                v-model="activeName"
                @tab-click="handleClick"
                stretch:true
                class="qq"
                style="width: 800px"
              >
                <el-tab-pane label="手机号" name="first">
                  <div class="sj">手机号</div>
                  <el-select
                    v-model="value"
                    filterable
                    placeholder="+86"
                    class="xl"
                    style="outline.none"
                  >
                    <el-option
                      v-for="item in options"
                      :key="item.value"
                      :label="item.tel"
                      :value="item.value"
                    >
                      <span style="float: left" class="dd">{{
                        item.label
                      }}</span>
                    </el-option>
                  </el-select>
                  <el-input v-model="input1" maxlength="11" class="sr q">
                    <!-- <el-button :plain="true" @click="open2">警告</el-button> -->
                  </el-input>
                  <div class="mm">密码</div>
                  <el-input
                    placeholder="请输入密码"
                    v-model="input2"
                    show-password
                    class="mx"
                  ></el-input>
                  <div class="dd">
                    <button class="zz" @click="$router.push('/works')">登&nbsp;&nbsp;录</button>
                  </div>
                  <div class="sz">
                    <a href="http://localhost:8080/#/register">新用户注册</a>
                  </div>
                  <div class="cs">
                    <a href="https://www.poco.cn/account/find_password">忘记密码</a>
                  </div>
                  <div class="app">
                    <div class="ad">
                      <div class="hei"></div>
                      <div class="er"></div>
                    </div>
                  </div>
                  <div class="zi">
                    扫码下载
                    <span>POCO摄影APP</span>
                    ,手机登录更加方便
                  </div>
                </el-tab-pane>
                <el-tab-pane label="邮箱/POCO号" name="second">
                <div class="yx">邮箱/POCO号/用户名</div>
                  <el-input v-model="input3" placeholder="邮箱/POCO号/用户名" class="ys"></el-input>
                    <div class="mm">密码</div>
                  <el-input
                    placeholder="请输入密码"
                    v-model="input4"
                    show-password
                    class="mx"
                  ></el-input>
                  <div class="dd">
                    <button class="zz" @click="$router.push('/works')">登&nbsp;&nbsp;录</button>
                  </div>
                  <div class="sz">
                    <a href="http://localhost:8080/#/register">新用户注册</a>
                  </div>
                  <div class="cs">
                    <a href="https://www.poco.cn/account/find_password">忘记密码</a>
                  </div>
                  <div class="app">
                    <div class="ad">
                      <div class="hei"></div>
                      <div class="er"></div>
                    </div>
                  </div>
                  <div class="zi">
                    扫码下载
                    <span>POCO摄影APP</span>
                    ,手机登录更加方便
                  </div>
                  </el-tab-pane>
              </el-tabs>
            </div>
          </div>
        </div>
      </div>
    </zu>
  </div>
</template>

<script>
import { defineComponent, ref } from "vue";
import zu from "@/components/zu.vue";
import nava from "../../components/nava.vue";
export default {
  components: {
    zu,
    nava,
  },
  data() {
    return {
      show: "false",
      count: "",
      input1: ref(""),
      input2: ref(""),
       input3: ref(""),
      input4: ref(""),
      options: [
        {
          value: "1",
          label: "中国",
          tel: "+86",
        },
        {
          value: "2",
          label: "美国",
          tel: "+1",
        },
        {
          value: "3",
          label: "俄罗斯",
          tel: "+7",
        },
        {
          value: "4",
          label: "埃及",
          tel: "+20",
        },
        {
          value: "5",
          label: "荷兰",
          tel: "+31",
        },
        {
          value: "6",
          label: "法国",
          tel: "+33",
        },
        {
          value: "7",
          label: "意大利",
          tel: "+39",
        },
        {
          value: "8",
          label: "英国",
          tel: "+44",
        },
        {
          value: "9",
          label: "挪威",
          tel: "+47",
        },
        {
          value: "10",
          label: "墨西哥",
          tel: "+52",
        },
      ],
      value: "",
      activeName: "second",
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },
  },
};
</script>
<style lang='less' scoped>
.ys{
  width: 360px;
  margin-left: -437px;
  margin-top: 20px;
}
.yx{
   font-size: 19px;
  color: #111;
  margin-top: 30px;
  margin-left: -620px;
}
.zi{
  margin-top: 130px;
  margin-left: -420px;
  span{
    color: #46d233;
  }
}
.er{
  float: left;
    margin-left: 43px;
    width: 91px;
    height: 91px;
    background: url(//static-c.pocoimg.cn/project/poco_new_pc/prod/online/image/widget/poco_login_panel/i/icon-qrcode_016e794.png) no-repeat;
    background-size: 100%;
     margin-left: -145px;
    margin-top: 90px;
}
.hei{
    float: left;
    width: 91px;
    height: 91px;
    background: url(//static-c.pocoimg.cn/project/poco_new_pc/prod/online/image/widget/poco_login_panel/i/icon-logo_61718cb.png) no-repeat;
    background-size: 100%;
    margin-left: -310px;
    margin-top: 90px;
}
.ad{
    height: 91px;
}
.app{
  text-align: center;
}
.zz {
  background: #46d233;
  color: #fff;
  border: 0;
  height: 40px;
  font-size: 18px;
  width: 380px;
  margin-top: 20px;
  margin-left: -459px;
  cursor: pointer;
}
.dd {
  margin-top: 15px;
}
.mx {
  margin-top: 15px;
  margin-left: -440px;
  width: 360px;
}
.mm {
  font-size: 19px;
  color: #111;
  margin-top: 30px;
  margin-left: -763px;
}
.sr {
  width: 250px;
  height: 50px;
  margin-top: -50px;
  margin-left: 109px;
  float: left;
}
.xl {
  width: 100px;
  height: 50px;
  margin-top: 15px;
  margin-right: 700px;
  color: #000;
}
.sj {
  font-size: 19px;
  color: #111;
  margin-top: 30px;
  margin-left: -747px;
}
.qq {
  margin-top: 60px;
  margin-left: -13px;
  .q {
    margin-right: 900px;
  }
  /deep/.el-tabs__nav-wrap::after {
    height: 0px;
  }
  /deep/.el-tabs__item.is-top:nth-child(2),
  .el-tabs--top .el-tabs__item.is-bottom:nth-child(2),
  .el-tabs--top .el-tabs__item.is-top:nth-child(2) {
    padding-left: 20px;
  }
  /deep/.el-tabs__item {
    padding: 0 80px;
    height: 40px;

    line-height: 40px;

    list-style: none;
    font-size: 18px;
    font-weight: 500;
    margin-top: 20px;
    color: var(--el-text-color-primary);
    position: relative;
  }
}
h2 {
  margin-left: 120px;
  margin-top: 13px;
  font-size: 26px;
  color: #111;
  font-weight: 500;
  z-index: 100;
  position: absolute;
}
.v_main {
  background: #fff;
  position: absolute;
  z-index: 2;
  width: 480px;
  height: 730px;
  left: 640px;
  top: 70px;
}
.v_min {
  background: #fff;
  line-height: 1;
  height: 150px;
}
.cc_in {
  width: 300px;
  margin: 0 auto;
  padding: 40px 0;
  box-sizing: border-box;
}
.sz {
 float: left;
  vertical-align: top;
  margin-top: 23px;
 
  a {
    color: #999;
    text-decoration: none;
  }
}
.cs{
  float: left;
  vertical-align: top;
  margin-top: 23px;
  margin-left: 216px;
  a {
    color: #999;
    text-decoration: none;
  }
}
</style>